Skip to content

Nexus governance hardening, Quantinuum CI job, claims register update (E-46..E-50) - #75

Merged
quantum-osiris merged 1 commit into
mainfrom
claude/nexus-governance-hardening
Nov 22, 2026
Merged

quantum-osiris merged 1 commit into
mainfrom
claude/nexus-governance-hardening

Conversation

@quantum-osiris

Copy link
Copy Markdown
Owner

Remediation items E-46 to E-50 from the 2026-11-21 evidence reconciliation.

osiris nexus governance (providers/nexus_sdk.py, quantinuum_cli.py)

  • Operator approval before remote side effects. preflight (upload, compile, costing) and Tier 2 emulator run raise GovernanceError unless approve_remote=True. The CLI shows what it will send and asks [y/N], or takes --approve-remote; without a terminal it refuses. Tests assert that no SDK call is made before the check.

  • circuits.cost(..., project=...).

  • Preflight is ledgered as PREFLIGHT_CHECKED, not SIMULATED.

  • HARDWARE_ATTESTED only after attestation. _attest_hardware asks Nexus again, separately from the submit call. It requires all three checks to pass:

    • jobs.status reports COMPLETED;
    • the job record, fetched again with jobs.get(id=...), names the requested QPU in backend_config_store.device_name;
    • every result's download_backend_info().device_name names the same QPU.

    If any check fails, the run is recorded as HARDWARE_UNVERIFIED with hardware=false, and the diagnostics give the reason. The tests cover the pass case, a wrong device and a failed status.

CI

New quantinuum job (Python 3.12). It installs .[quantinuum,nexus] (pytket and qnexus 0.51.4) and runs test_nexus_sdk.py, test_quantinuum_client.py and test_tket_and_quantinuum_nexus.py. Any skip fails the job, so the real pytket path and the qnexus signature-binding test always run.

Claims register (claims.py)

  • CRSM_ARCH: changed from UNTESTED to REFUTED. Finding: "FAIL under Amendment 3 (N=2, adopted after seed 200); incomplete against 8-seed pre-registration". It now cites the RESULT and the Amendment 3 entry.
  • New entries:
    • XTOP005_DD: SUPPORTED (H2, H3);
    • XTOP005_ENCODING: NULL (H1, H4);
    • ADV0_PEAKED: REFUTED (offline, not preregistered).

Verification

  • Full suite with pytket and qnexus installed: 3106 passed, 26 skipped, 0 failed.
  • The three Quantinuum/Nexus files: 38 passed, 0 skipped.
  • bootstrap --verify-only, py_compile and git diff --check all pass.

🤖 Generated with Claude Code

… (E-46..E-50)

nexus_sdk / osiris nexus:
- Remote side effects need explicit operator approval: preflight (upload,
  compile, costing) and Tier 2 emulator jobs refuse without approve_remote;
  the CLI asks [y/N] with what will be sent, or takes --approve-remote, and
  refuses when not interactive. Nothing is called before the check.
- circuits.cost(...) now gets project=.
- Preflight is ledgered as PREFLIGHT_CHECKED, not SIMULATED.
- HARDWARE_ATTESTED only after an attestation step that asks Nexus again:
  jobs.status COMPLETED, the job record fetched by id names the requested
  QPU, and every result's backend info names it. Otherwise the run is
  recorded HARDWARE_UNVERIFIED with hardware=false and the reason.

CI: new `quantinuum` job installs .[quantinuum,nexus] (pytket + qnexus)
and runs test_nexus_sdk, test_quantinuum_client and
test_tket_and_quantinuum_nexus; any skip fails the job (38 tests, 0 skips
locally).

claims.py: CRSM_ARCH -> REFUTED, "FAIL under Amendment 3 (N=2, adopted
after seed 200); incomplete against 8-seed pre-registration", citing the
result and Amendment 3. New entries XTOP005_DD (SUPPORTED),
XTOP005_ENCODING (NULL), ADV0_PEAKED (REFUTED, offline, not preregistered).

Full suite (pytket + qnexus installed): 3106 passed, 26 skipped, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@quantum-osiris
quantum-osiris merged commit 8e963c7 into main Nov 22, 2026
12 checks passed
@quantum-osiris
quantum-osiris deleted the claude/nexus-governance-hardening branch November 22, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant